#include"UnionFind.hpp"


int main()
{
  UnionFind us(10);
  us.Union(1,2);
  us.Union(2,3);
  cout <<us.FindRoot(1) <<endl;
  cout << us.size() << endl;
  cout << us.isSame(1,2) <<endl;
  return 0;
}
